package org.zfes.snowier.cloud.zbss.pmp.model;
import org.zfes.snowier.common.dao.IBaseModel;
public class PmpTasksRecord extends IBaseModel{

	private static final long serialVersionUID = 1L;
	
	public PmpTasksRecord() {}
	public PmpTasksRecord(Long id) {
		this.setId(id);
	}
	//<-------------------------------------------->

 

	@javax.validation.constraints.NotNull(message="所属任务不能为空")

	  private java.lang.Long taskId;
 
	@javax.validation.constraints.NotBlank(message="负责人不能为空")
	@javax.validation.constraints.NotNull(message="负责人不能为空")
	@org.hibernate.validator.constraints.Length(min=0,max=255,message="负责人长度不能大于255")
	  private java.lang.String chargeUserName;
 

	@javax.validation.constraints.NotNull(message="负责人不能为空")

	  private java.lang.Long chargeUserId;
 

	  private java.util.Date updatetime;
 

	  private java.util.Date createtime;
 

	@javax.validation.constraints.NotNull(message="投入时间不能为空")

	  private java.lang.Integer workHours;
 

	@javax.validation.constraints.NotNull(message="任务进度不能为空")

	  private java.lang.Byte nowProgress;
 
	@org.hibernate.validator.constraints.Length(min=0,max=500,message="工时备注长度不能大于500")
	  private java.lang.String workRemark;
 
	
	//<-------------------------------------------->
	public PmpTasksRecord setTaskId(java.lang.Long taskId){
	 this.taskId=taskId;
	 return this;
	}
	public java.lang.Long getTaskId(){
		return this.taskId;
	}
	public PmpTasksRecord setChargeUserName(java.lang.String chargeUserName){
		this.chargeUserName=chargeUserName==null?null:chargeUserName.trim();
	 return this;
	}
	public java.lang.String getChargeUserName(){
		return this.chargeUserName;
	}
	public PmpTasksRecord setChargeUserId(java.lang.Long chargeUserId){
	 this.chargeUserId=chargeUserId;
	 return this;
	}
	public java.lang.Long getChargeUserId(){
		return this.chargeUserId;
	}
	public PmpTasksRecord setUpdatetime(java.util.Date updatetime){
	 this.updatetime=updatetime;
	 return this;
	}
	public java.util.Date getUpdatetime(){
		return this.updatetime;
	}
	public PmpTasksRecord setCreatetime(java.util.Date createtime){
	 this.createtime=createtime;
	 return this;
	}
	public java.util.Date getCreatetime(){
		return this.createtime;
	}
	public PmpTasksRecord setWorkHours(java.lang.Integer workHours){
	 this.workHours=workHours;
	 return this;
	}
	public java.lang.Integer getWorkHours(){
		return this.workHours;
	}
	public PmpTasksRecord setNowProgress(java.lang.Byte nowProgress){
	 this.nowProgress=nowProgress;
	 return this;
	}
	public java.lang.Byte getNowProgress(){
		return this.nowProgress;
	}
	public PmpTasksRecord setWorkRemark(java.lang.String workRemark){
		this.workRemark=workRemark==null?null:workRemark.trim();
	 return this;
	}
	public java.lang.String getWorkRemark(){
		return this.workRemark;
	}

}
